package com.jz.main.io.adapter;

public class CurvePainterAdapter implements CurvePainter{

    private final Painter painter;

    CurvePainterAdapter(Painter painter){
        this.painter = painter;
    }

    @Override
    public void speciDraw() {
        System.out.println("二期：我画了曲线哦");
        painter.draw();
        System.out.println("二期 曲线画完了哦");
    }
}
